@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

body, html {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', 'Microsoft YaHei', Arial, sans-serif;
  background: #f4f7fa;
}

.login-bg {
  min-height: 100vh;
  background: linear-gradient(120deg, #e0e7ff 0%, #f1f5f9 100%);
  position: relative;
}

.login-card {
  max-width: 370px;
  width: 100%;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 32px rgba(80,120,200,0.13);
  padding: 40px 32px 32px 32px;
  margin: 0 auto;
  transition: box-shadow 0.2s, transform 0.2s;
}
.login-card:hover {
  box-shadow: 0 12px 40px rgba(80,120,200,0.18);
  transform: translateY(-2px);
}

.input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #b0b8c9;
  font-size: 1.1rem;
  z-index: 2;
}

.form-control {
  padding-left: 2.5rem !important;
  height: 44px;
  border-radius: 10px;
  border: 2px solid #e0e7ff;
  background: #f7faff;
  font-size: 15px;
  transition: border 0.2s, box-shadow 0.2s;
}
.form-control:focus {
  border-color: #4f8cff;
  box-shadow: 0 0 0 2px #4f8cff22;
  background: #fff;
}

.btn-primary {
  background: linear-gradient(90deg, #4f8cff 0%, #2563eb 100%);
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(80,120,200,0.10);
  transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.btn-primary:hover, .btn-primary:focus {
  background: linear-gradient(90deg, #2563eb 0%, #4f8cff 100%);
  box-shadow: 0 4px 16px rgba(80,120,200,0.16);
  transform: translateY(-1px);
}

.alert-danger {
  font-size: 15px;
  border-radius: 8px;
  padding: 8px 12px;
}

.login-links {
  margin-top: 18px;
  font-size: 15px;
}
.login-links a {
  color: #4f8cff;
  text-decoration: none;
  margin: 0 8px;
  transition: color 0.2s;
  font-weight: 500;
}
.login-links a:hover {
  color: #2563eb;
  text-decoration: underline;
}
.form-check-input:checked {
  background-color: #4f8cff;
  border-color: #4f8cff;
}
.form-check-label {
  user-select: none;
}

@media (max-width: 480px) {
  .login-card {
    padding: 24px 8px 16px 8px;
    max-width: 98vw;
  }
  .login-bg {
    padding: 0 4px;
  }
  .form-control {
    font-size: 14px;
    height: 38px;
  }
  .btn-primary {
    font-size: 15px;
    padding: 10px 0;
  }
} 